package com.CST.entity.zx;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
 * @author ly
 * @since 2023-03-23
 */
@ApiModel(value = "项目申诉记录")
@Data
@TableName("ZX_Project_Appeal")
public class ZxProjectAppeal implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "申诉记录主键,修改必要")
    private Long id;

    @ApiModelProperty(value = "财务编码，必要")
    private String financeCode;

    @ApiModelProperty(value = "项目简称，必要")
    private String projectEasyName;

    @ApiModelProperty(value = "项目编号，必要")
    private String projectCode;

    @ApiModelProperty(value = "处理人id")
    private String userId;

    @ApiModelProperty(value = "处理人名称")
    private String userName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "处理状态 0代表未处理(默认)，1代表已修正，2代表驳回")
    private Integer status;

    @ApiModelProperty(value = "凭证号数，必要")
    private String accountNum;

    @ApiModelProperty(value = "科目编码，必要")
    private String accountCode;

    @ApiModelProperty(value = "科目名称，必要")
    private String accountName;

    @ApiModelProperty(value = "科目id，必要")
    private String accountId;

    @ApiModelProperty(value = "备注，必要，修改必要")
    private String remarks;

    @ApiModelProperty(value = "创建人id，必要")
    public String createUserId;

    @ApiModelProperty(value = "申诉人名称")
    public String createUserName;

    @ApiModelProperty(value = "是否撤回，0不撤回，1撤回")
    @TableLogic
    public Integer isDelete;

    @ApiModelProperty(value = "处理意见")
    private String handlingOpinions;
}
